const Mock = require('mockjs')
const data = Mock.mock({
	"userList": [{
		username: 'admin',
		password: 'admin',
		avator: `https://robohash.org/@id`,
		nickname: '@cname'
	},{
		username: 'user',
		password: '123456',
		avator: `https://robohash.org/@id`,
		nickname: '@cname'
	},{
		username: '666',
		password: '666',
		avator: `https://robohash.org/@id`,
		nickname: '@cname'
	}],
	"personList|50": [{
		"isVerify": '@boolean',
		"id": '@id',
		"name": '@cname',
		"address": '@city',
		"tel": /1[3-8]\d{9}/,
		"sex|1": ['男', '女'],
		"age|18-40": 1,
	}]
})

module.exports = data